cooks.distance
in the base
package.cookd(model, ...)
lm
or glm
model object.cooks.distance
.cookd
returns a vector with one entry for each observation.car
package have
been rewritten and moved to the base
package; these include influence
,
rstudent
, hatvalues
, dfbeta
, and dfbetas
.cooks.distance
, influence
plot(cookd(lm(prestige ~ income + education, data=Duncan)))
Run the code above in your browser using DataLab